package com.example.demo.DynaSQL;

import com.example.demo.beans.UpmzbbrfyBean;
import org.apache.ibatis.jdbc.SQL;

/**
 * Created by 黄启位 on 2023-03-01.
 */
public class OtherProvider {
public String Upmzbbrfy(UpmzbbrfyBean b){
    return new SQL(){{
        UPDATE("mzb_brfy");
        if(b.getCzybm()!=null){
            SET("czybm=#{czybm}");
        }
    }}.toString();
}
}

